using System.Runtime.InteropServices;

namespace Recast
{
	public unsafe partial class RecastGlobal
	{
		[StructLayout(LayoutKind.Sequential)]
		public unsafe partial struct dtNavMeshCreateParams
		{
			public ushort* verts;
			public int vertCount;
			public ushort* polys;
			public ushort* polyFlags;
			public byte* polyAreas;
			public int polyCount;
			public int nvp;
			public uint* detailMeshes;
			public float* detailVerts;
			public int detailVertsCount;
			public byte* detailTris;
			public int detailTriCount;
			public float* offMeshConVerts;
			public float* offMeshConRad;
			public ushort* offMeshConFlags;
			public byte* offMeshConAreas;
			public byte* offMeshConDir;
			public uint* offMeshConUserID;
			public int offMeshConCount;
			public uint userId;
			public int tileX;
			public int tileY;
			public int tileLayer;
			public fixed float bmin[3];
			public fixed float bmax[3];
			public float walkableHeight;
			public float walkableRadius;
			public float walkableClimb;
			public float cs;
			public float ch;
			public bool buildBvTree;
		}
	}
}
